<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
 charset=UTF-8">
 <script type="text/javascript">
 function confirm(){
 		var name=document.getElementById("username").value;
 		if(name.length<=0){
 			
 			alert("用户名不能为空！！");
 		}
 		return false;
 }
 </script>
<title>Insert title here</title>
</head>
<body>
	<!-- <form action="UserInfo.jsp" method="post" onsubmit="return confirm()">
		用户名：<input type="text" name="username" id="username" ><br>
		密码：<input type="text" name="password"><br>
		<button type="submit" name="btnLogin" value="登录" >登陆</button>
		
	</form> -->
	<a href="UserInfo.jsp?id=admin&username=管理员">跳转</a>
</body>
</html>